﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Configuration;
using System.Web.UI;

namespace SisTransportes.Apresentacao.WebForm.Config
{
    public class Configuracao 
    {
        public static string PathAplicacao = HttpContext.Current.Request.PhysicalApplicationPath.ToString();

        public static string Protocolo = WebConfigurationManager.AppSettings["server_protocolo"].ToString();

        public static string HttpHost = Protocolo + HttpContext.Current.Request.ServerVariables["HTTP_HOST"].ToString() + "/";

        public static string PathXmlMenu = WebConfigurationManager.AppSettings["xml_menu"].ToString();

        public static string Logo = WebConfigurationManager.AppSettings["logo_app"].ToString();

        public static int LogoLarg = Convert.ToInt32(WebConfigurationManager.AppSettings["logo_app_larg"]);

        public static int LogoAlt = Convert.ToInt32(WebConfigurationManager.AppSettings["logo_app_alt"]);

        public static string TituloApp = WebConfigurationManager.AppSettings["titulo_app"].ToString();

        public static string SlogaApp = WebConfigurationManager.AppSettings["slogan_app"].ToString();

        public static string ListaMenuIcones = WebConfigurationManager.AppSettings["lista_menu_icones"].ToString();

    }
}